package cn.agiledata.bank.barcodepayment.exception;

import com.vnv.infrastructure.exception.IPBAppException;

public class BarCodePayException extends IPBAppException {
    public static final BarCodePayException ERROR_CORPCODE = new BarCodePayException(
    "error.error_corpcode"); 
    public static final BarCodePayException ERROR_BARCODE = new BarCodePayException(
    "error.error_barcode");
    public static final BarCodePayException ERROR_BARCODE_LENGTH = new BarCodePayException(
    "error.error_barcode_length");
    public static final BarCodePayException ERROR_NOTNUMBER = new BarCodePayException(
    "error.error_notnum");
    public static final BarCodePayException ERROR_FEEPAYED = new BarCodePayException(
    "error.error_feepayed");
    public static final BarCodePayException ERROR_DATAEXTENDED = new BarCodePayException(
    "error.error_data_extended");
    
    public BarCodePayException(String code) {
        super(code);
    }

    public BarCodePayException(String code, Object[] args) {
        super(code, args);
    }

    public BarCodePayException(String code, Object arg) {
        super(code, arg);
    }

    public BarCodePayException(String code, Object[] args, String defaultMessage) {
        super(code, args, defaultMessage);
    }

}
